package com.momo.hotel.service;

import com.momo.hotel.dao.pojo.TbOrder;
import com.momo.hotel.dto.DtoOrder;

import java.util.List;

/**
 * @version 1.0.0
 * @auther Snake
 * @date 2019/7/6 16:25
 */
public interface OrderService {
    //添加订单
    boolean addOrder(DtoOrder dtoOrder);

    //删除订单
    boolean delOrder(Integer userId);

    //获取用户订单
    List<TbOrder> getUserOrder(Integer userId);
}
